Skip to content

Conversation

@koeninger
Copy link
Contributor

What changes were proposed in this pull request?

Alternative approach to #15387

@SparkQA
Copy link

SparkQA commented Oct 8, 2016

Test build #66559 has finished for PR 15401 at commit 143bf12.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Oct 8, 2016

Test build #66562 has finished for PR 15401 at commit eae5ba1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zsxwing
Copy link
Member

zsxwing commented Oct 12, 2016

@koeninger sorry for the delay. Actually, my concern is poll(0) in ConsumerStrategy.onStart may update the offsets.

@koeninger
Copy link
Contributor Author

@zsxwing so poll is only called in consumer strategy in situations in which starting offsets have been provided, and seek is called immediately thereafter for those offsets. What is the specific concern at that point?

If you want me to make paranoidPoll a static method and call it from consumer offsets as well I can, but....

@zsxwing
Copy link
Member

zsxwing commented Oct 12, 2016

@koeninger Sorry. I didn't notice the seek. LGTM. Merging to master and 2.0.

@asfgit asfgit closed this in f9a56a1 Oct 12, 2016
asfgit pushed a commit that referenced this pull request Oct 12, 2016
…of poll twice

## What changes were proposed in this pull request?

Alternative approach to #15387

Author: cody koeninger <[email protected]>

Closes #15401 from koeninger/SPARK-17782-alt.

(cherry picked from commit f9a56a1)
Signed-off-by: Shixiong Zhu <[email protected]>
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
…of poll twice

## What changes were proposed in this pull request?

Alternative approach to apache#15387

Author: cody koeninger <[email protected]>

Closes apache#15401 from koeninger/SPARK-17782-alt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants